package com.cai.seckill;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import static com.cai.seckill.util.MD5Util.*;

@SpringBootApplication
@MapperScan("com.cai.seckill.mapper")
public class SecKillApplication {

    public static void main(String[] args) {
        SpringApplication.run(SecKillApplication.class, args);

        //System.out.println(inputPassToFormPass("" + "abc123"));
        //System.out.println(formPassToDBPass(inputPassToFormPass("" + "abc123"), "${com.cai.seckill.front-salt}"));
        //System.out.println(inputPassToDbPass("" + "abc123", "${com.cai.seckill.front-salt}"));
    }

}
